#ifndef MESSAGE_H_13032012
#define MESSAGE_H_13032012

#include <string>

namespace connection
{

class Message;

class MessageSerializer
{
public:
	virtual std::string Serialize( Message* pMessage ) = 0;
	virtual Message* Deserialize( const std::string& sMessage ) = 0;
};

class Message
{
public:
	Message() throw()
	{
	}

	virtual	~Message() throw() = 0;

}; // class Message

} // namespace connection
#endif //MESSAGE_H_13032012
